package com.jyhs.maven.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

public class Transfer {
    private Long id;
    private Long payUserId;
    private Long reciveUserId;
    private BigDecimal balance;
    private LocalDateTime payTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPayUserId() {
        return payUserId;
    }

    public void setPayUserId(Long payUserId) {
        this.payUserId = payUserId;
    }

    public Long getReciveUserId() {
        return reciveUserId;
    }

    public void setReciveUserId(Long reciveUserId) {
        this.reciveUserId = reciveUserId;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public LocalDateTime getPayTime() {
        return payTime;
    }

    public void setPayTime(LocalDateTime payTime) {
        this.payTime = payTime;
    }

    @Override
    public String toString() {
        return "Transfer{" +
                "id=" + id +
                ", payUserId=" + payUserId +
                ", reciveUserId=" + reciveUserId +
                ", balance=" + balance +
                ", payTime=" + payTime +
                '}';
    }
}
